package com.vito.oa.act.service;

import java.util.List;
import java.util.Map;

import com.vito.base.model.DataGrid;
import com.vito.oa.act.extend.model.OaActExApproveInfoModel;
import com.vito.oa.act.model.OaActCommentModel;

public interface OaActCommentService {
	
	/**
	 * 保存评论
	 * @param oaActCommentAttentionModel
	 * @return
	 */
	public boolean saveComment(OaActCommentModel oaActCommentModel);
	
	/**
	 * 分页查询@我的审批
	 * @param oaActCommentModel
	 * @return
	 */
	public DataGrid<Map<String, String>> getCommentApprovePage(OaActExApproveInfoModel actExApproveInfoModel);

	/**
	 * 查询审批单下所有评论
	 * @param oaActCommentModel #businessId
	 * @return
	 */
	public List<OaActCommentModel> getCommentList(OaActCommentModel oaActCommentModel);
}
